package com.outsource.framework.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="t_userflow")
@GenericGenerator(name="t_uf_identity",strategy="identity")
@JsonIgnoreProperties(value={"id","mobile","nettype","productname","flowpackagename","totalflow","detailstartdate","updatetime","month","date"})
public class Tuserflow implements Serializable{

	private static final long serialVersionUID = 8839339214753177361L;

	@Id
	@Column(name="id",nullable=false,length=11)
	@GeneratedValue(generator="t_uf_identity")
	private Integer id;
	
	@Column(name="mobile")
	private String mobile;
	
	@Column(name="nettype")
	private String nettype;
	
	@Column(name="productname")
	private String productname;

	@Column(name="flowpackagename")
	private String flowpackagename;
	
	@Column(name="totalflow")
	private String totalflow;
	
	@Column(name="usedflow")
	private String usedflow;
	
	@Column(name="detailstartdate")
	private String detailstartdate;
	
	@Column(name="detailenddate")
	private String detailenddate;
	
	@Column(name="month")
	private String month;
	
	@Column(name="updatetime")
	private Date updatetime;

	@Column(name="date")
	private String date;
	
	public Tuserflow(){}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getNettype() {
		return nettype;
	}

	public void setNettype(String nettype) {
		this.nettype = nettype;
	}

	public String getProductname() {
		return productname;
	}

	public void setProductname(String productname) {
		this.productname = productname;
	}

	public String getFlowpackagename() {
		return flowpackagename;
	}

	public void setFlowpackagename(String flowpackagename) {
		this.flowpackagename = flowpackagename;
	}

	public String getTotalflow() {
		return totalflow;
	}

	public void setTotalflow(String totalflow) {
		this.totalflow = totalflow;
	}

	public String getUsedflow() {
		return usedflow;
	}

	public void setUsedflow(String usedflow) {
		this.usedflow = usedflow;
	}

	public String getDetailstartdate() {
		return detailstartdate;
	}

	public void setDetailstartdate(String detailstartdate) {
		this.detailstartdate = detailstartdate;
	}

	public String getDetailenddate() {
		return detailenddate;
	}

	public void setDetailenddate(String detailenddate) {
		this.detailenddate = detailenddate;
	}

	public String getMonth() {
		return month;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

}
